﻿@model IEnumerable<SystemContainer.Models.Algorithm>

@{
    ViewBag.Title = "Index";
}


<p>
   Existing algorithms &datasets mapping: 
</p> 

<table>
    <tr>
        <th>
            name
        </th>
        <th>
            dir
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.dir)
        </td>
        <td>
            @Html.ActionLink("Details and Edit", "Details", new { id=item.AlgorithmID }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.AlgorithmID })
        </td>
    </tr>
}
   
</table>

